Skip to content

Use any in switch example - #665

Merged
eliben merged 1 commit into
mmcgrana:masterfrom
comick:any
Jul 13, 2026
Merged

eliben merged 1 commit into
mmcgrana:masterfrom
comick:any

Conversation

@comick

@comick comick commented Jul 11, 2026

Copy link
Copy Markdown
Contributor

any is an alias for interface {} which could be simpler for an early example such as the switch one.

Comment thread examples/switch/switch.go Resolved
@eliben
eliben merged commit 7d5c56f into mmcgrana:master Jul 13, 2026
2 checks passed
@comick
comick deleted the any branch July 15, 2026 17:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants